/* custom-tab-bar/index.wxss */

.tab {
    &-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100rpx;
        background: #fff;
        display: flex;
        line-height: 1.2;
        /* env(safe-area-inset-bottom) 是一个CSS函数，用于在移动设备上处理安全区域底部的样式。它返回一个表示底部安全区域大小（例如iPhone X系列的刘海、导航栏等）的值。 */
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid #e6e6e6;
        padding: 6rpx 0;
        &-item {
            flex: 1;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            line-height: 0.8;
            // border-radius: 50%;
            border-radius: 1998rpx 1998rpx 1998rpx 1998rpx;
            color: rgba(0, 0, 0, 0.9);

            &-text {
                font-size: 24rpx;
                font-weight: 400;
            }
            &-bulge {
                padding-top: 36rpx;
            }
        }
        &-bulge {
            position: absolute;
            z-index: -1;
            width: 92rpx;
            height: 92rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            top: -36rpx;
            border-radius: 50%;
            border-top: 1px solid #e6e6e6;
            background-color: #0052d9;
        }
    }
}

.actived {
    background-color: #f2f3ff;
    color: #0052d9;
}
